package homework.day01;

import java.io.File;
import java.util.Scanner;

public class Tex04 {
    public static void main(String[] args) {
        Scanner inputname = new Scanner(System.in);
        System.out.println("请输入要要创建的项目名：");
        String name = inputname.next();
        File file = new File(name);
        if (file.exists()){
            file.delete();
            System.out.println("目录已经删除！");
        }else{
            System.out.println("目录不存在！!");
        }
    }
}
